<?php
//项目公用配置
$projHome = substr(__FILE__, 0, strrpos(__FILE__, "app"));
$config = include($projHome . "/conf/conf.php");

//app自定义配置
$config['router.routing_table'] = array('pattern' => ":module-:action-*",
	'default' => array('module' => 'Default', 'action' => 'Index'),
	'reqs' => array('module' => '[a-zA-Z0-9\.\-_]+', 'action' => '[a-zA-Z0-9\.\-_]+'),
	'varprefix' => ':',
	'delimiter' => '-',
	'postfix' => '.html',
	'protocol' => 'standard',
	);

//图片最大尺寸不能超过1M
$config["upload"]["max_size"] = 1000000;
$config["upload"]["ext"] = array('jpg','png','gif');

return $config;